﻿using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;

using SBPweb.PROvibe.Client.Library.Base;

namespace SBPweb.PROvibe.Client.Core.Controls
{

    public partial class Desktop : UserControlBase
    {

        #region Constructor logic

        public Desktop()
        {
            InitializeComponent();
            InitializeHandlers();
        }

        #endregion

        #region Methods

        protected override void OnLoaded(object sender, RoutedEventArgs e)
        {
            base.OnLoaded(sender, e);

            //if (Application != null && !Application.IsDesignTime && !Application.IsRunningOutOfBrowser)
            //{
            //    grdLayout.Background = new SolidColorBrush(Colors.Transparent);
            //}
            //TextBlock tbk = new TextBlock();
            //tbk.Text = (Application.HostBaseUri != null ? Application.HostBaseUri.OriginalString : "N/A") + "\n" + Application.Host.Source.OriginalString;
            //SecondaryRootPanel.Children.Add(tbk);
        }

        protected override void OnUnloaded(object sender, RoutedEventArgs e)
        {
            base.OnUnloaded(sender, e);
        }

        #endregion

    }

}